unit ImageView;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ExtCtrls, StdCtrls;

type
  TfmImageView = class(TForm)
    Image: TImage;
    btnPrint: TButton;
    procedure btnPrintClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fmImageView: TfmImageView;

implementation
uses Printers, PrnUtils;
{$R *.DFM}

procedure TfmImageView.btnPrintClick(Sender: TObject);
begin
  //SelectPrinterByPort('LPT1:');
  PrintImage(Image.Picture.Bitmap);
end;

end.
